﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FirstApi.Controllers
{
    public class FirstController : ApiController
    {
        /// <summary>
        /// 用于测试ocelot网关统一访问
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string getmessage()
        {
            return @"我是下游 api--first api";
        }

        //测试访问地址：http://localhost:5000/first/First/getmessage
    }
}
